package com.mxx.mxx.common.config;

import cn.hutool.core.lang.generator.SnowflakeGenerator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: dronff
 * @description:
 * @CreateTime: 2024/4/19 16:12
 **/
@Configuration
public class SnowflakeConfig {
    @Bean
    public SnowflakeGenerator snowflake(){
        return         new SnowflakeGenerator();
    }
}
